<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>测试</title>
<style>
  body {
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
  }
  .dislike-gesture {
    position: relative;
    width: 500px; 
    height: 500px; 
    background-image: url('img/tu1.png');
    background-size: cover; 
    animation: move-up-down 0.2s infinite ease-in-out;
  }
  .dislike-gesture span:before {
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
  }
  .dislike-gesture span:after {
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
  }
  @keyframes move-up-down {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
</style>
</head>
<body>
  <div class="dislike-gesture">
    <span></span>
  </div>
</body>
</html>
